package com.sinodata.bsm.cicp.collector.net.trap;

import java.util.Map;

public class TCPMsgTemplate {

    //    private TCPEventMsgTranslate tcpEventMsgTranslate = new TCPEventMsgTranslate();
    private Map<String, String> map = TCPEventMsgTranslate.map;

    public String getMsg(String oid, String value) {
        StringBuffer msg = new StringBuffer("");
        String valueName = map.get(oid);
        msg.append(valueName).append(": " + value);
        return msg.toString();
    }
}
